#ifndef _HTTP_PACKET_PARSING_H
#define _HTTP_PACKET_PARSING_H

#include <stdint.h>

#define		HTTP_HEAD	"HTTP/1.1 "
#define		SERVER		"Server: "
#define		DATE		"Date: "
#define		CONTENT_TYPE	"Content-Type: "
#define		CONTENT_LENGTH	"Content-Length: "
#define		CONNECTION		"Connection: "
#define		DATA			"\r\n\r\n"

extern int8_t check_http_packet_rece_finish(int8_t *packet, int len);
extern int8_t get_http_packet_content(int8_t *packet, int8_t *keyword, int8_t *buf);

#endif
